import request from '@/utils/request.js'; 
export function getTaskList(params) {
	return request({
		url: `/admin-api/system/cwc-provider-task/page`,
		method: 'GET',
		params
	})
}
export function getStockType(params) {
	return request({
		url: `/admin-api/system/cwc-sub-storage/page`,
		method: 'GET',
		params:{
			pageSize:-1,
			pageNo:1,
			...params
		}
	})
}
 export function update(data) {
 	return request({
 		url: `/admin-api/system/cwc-provider-task/update`,
 		method: 'PUT',
 		data
 	})
 }
 export function getRturnDetails(params) {
 	return request({
 		url: `/admin-api/system/cwc-storage-batch/page`,
 		method: 'GET',
 		params
 	})
 }
 export function returnGoods(data) {
 	return request({
 		url: `/admin-api/system/cwc-provider-task/return`,
 		method: 'PUT',
 		data
 	})
 }